//
//  PhotoSlideShow.h
//

#import <Cocoa/Cocoa.h>

#import "ViewerBase.h"

#define PREF_SLIDESHOW_FRAME_RECT	@"Slideshow.frameRect"

@class SlideshowModel;

@interface PhotoSlideShow : ViewerBase
{
	BOOL			playing;		// Or paused
	NSTimer			*disallowSleepTimer;
	SlideshowModel	*ssModel;

	ThumbData		*tdCurrentFile;
}

- (IBAction) nextImage:(id)sender;
- (IBAction) previousImage:(id)sender;
- (IBAction) toggleAutoShow:(id)sender;



- (void) cancelAutoShow;
- (void) disallowSleep:(NSTimer*) timer;
- (void) displayCurrentFile;
- (void) nextAutoShowTimer:(NSTimer*) timer;
- (void) nextAutoShow:(id) notta;

- (void) setModel:(SlideshowModel*) model  start:(BOOL) start;

- (void) updateColors;

@end
